fix float
change to fixed framerate