delete before sync