fixed small issue in sync.fg