fix new line at end of file