fixed error in refactoring
refactoring xxx