delete unnecessary Classes