Remove dependency between barcode and niw

Remove dependency between barcode and niw