fixed flash syncing issue