fixing vendor validation