try to add newline at eof, prevent eof newline issue
updated