Fix bug in editModel instantiation