Fix the root path issue.