Remove extra newline that was causing incorrect line numbers in error messages