fix for get.n.barcodes