input & barcode scanner fix
minifyed version