refactor typo