remove bad framerate caculation