A note on functionally compact spaces