add newline at the end of error messages