finally got the fps to work