Fix barcode scanner variable