refactor code typo.