fixed buggy barcode select