preparation for data synchronize