Fix a typo and update the code style.