resolve enum typenames