Refactor for a typo