fixing indents and spaces as per Moodle style guide