add unqiue check for merchant_num