check for secondary before syncing