fixed id problems with adding items to stock with wrong barcodes