fixed issue with FPS logging