fix a bug in FPSSync