added missing self. in setItem