fixed instance ref in ORM Model