fixed wrong known types for generic sub-types