Fixed message new line calculayor issue