fixes #204 getModelInstance() object to string