ModelInterface bug fixed