fixes wildabeast/BarcodeScanner#32