solve instance model bug