avoid cyclic types when reversing type name