fix whitespace and indentation