remove extraneous classes