fix for barcode scanner