fix FF offset problem