fix indentation and syntax