remove obsolete classes