better generics error messages