fix showing complex types names from nested types