fix message sending