fixed up raspberry barcode reader