fixed console bug with multiline messages