fix indentation and style