fix editor has no newline at end of file