Fixed a path related bug.