Fixed no barcode scan error