Fix some path issue.