item undefined fix trying