Fix trailing newline error