Fixed typo and code style