fix RESET handling for barcodes