Fixed v8 run error with barcode scanning