fix sending a message