fixing send messages