Fix typo and code format.