clearing repository inconsistency