fixing bug with object item