fix type name compiling error