fix a name refactoring bug