fix registerMerchant