validate bar_code on product