fixed some FPS issues