Fixing sending messages.