Fix for path hacking.