fix the typo and style check