correction of the bug on the generation classes owning a super class