fix generics.