wildcard at class level does not work