add missing newlines, fix misspelling of nonexistent (bug #4027)