fixes a typo and formatting