bug fix, added try catch error for items