for barcode bug