Fixed a path usage bug.