[fix] Attr model, attr convert

* Fixed missing index