Fixes problem with Sync