Fixes for sendPayment