add fps, and fix fp