Fixed changemodel bug