fixing bug that over wrote items with the same item number youre trying to enter