Fix extra newline issue