Message sending bug fixed