fix indenting and whitespace