BarcodeScanner small fix