fix pre-req classes issue