fix refactor typos