repair the violations of the classes