fixing a typo and indentation