fixed a typo.
Refactoring.