Fixes a path problem.