Fix barcode scanner