cleaned db sync issues