fix showing name of complex types