fix Class<T> define (did not compile)