fixed bug with FPSCLOCK