Fix wrong letter case.
Fix "pathRootHack" path expansion.