Bug fix in output when message was more than 1 line