sendMessageToAll fix