That should be
```
item_controller->find_template(current[i]->result)->nname(1).c_str()
```