corrected remedy tab count and added clear function to barcode searches