removal of useless classes