fixed api of send