Fixed duplicate barcode creation error.