changge send from buf to chain