fix refactor process