inconvertible-types-with-generics fix