fixed up framerate