fixing message sending