correct extra newline