Fixed issue where syncing was not possible