db sync fixed