fix printing of types like T? where T is a type parameter