ModelInterface bug fixed.