Fixed missing refactoring of paths in STS