silly generics bug