fix refactoring typro