cleaning up the class list