remove generics