rm unneeded classes