bug fix for computing FPS