Fix wrong variable name in default onSend.