Fixed the delegate problem for syncing