display barcode misfires

fixes #1855.
`which` makes it work on firefox on the TC55