Bugfixing

fixed a bug which stored langslugs incorrectly to the pathlist, when urlencode is enabled