fix processing of the inheritence classes