fix the problem of sending long message