Fixed barcode bug