Fixed sending messages.