use decodeURI to unescape paths