fixing bug from screen and object model