Fixed typo and linter errors