fixed not syncing files at start