crude fix for barcode entry