Fixed Model.cpp