fix refactoring bug