wrong paths after "refactoring"