add limitation for barcode field