fix overwriting existing classes