bugfix in constructors with generics
Handling of super types