ITECO: fix refactoring bug