fixed fps issue