fix: fix decodeURIComponent crashes