fixing require list with supertypes