added autowrap to messages