remove obsolate classes