Add missing brace and fix indentation