fix frameratecount