fixing type name displayed