fix typo and coding standard error