- fixed a warning related to generics