fixed Model_create
more fixes
more fixes
more fixes