fix send_message api