cancel refactoring