fix send messege bug