Finally fixed newline issue