fixbug when can not get a model instance
Version 0.3:
  * fixbug when can not get a model instance