resolved #89: if struct has  func, the struct's name is the result