Fixed send buffer error