modify generic type.