added newline symbol at the end of two error messages