Minor improvement

- fix bug sending preventing deletion of message