fix indenting and add newline at end of file