modified barcode_refister