remove incorrect use of generics in non-generified method call