prevent clearing database then syncing