modify function send()
modify function sendBuf_timer