Bugfix; choosing substring of unexpectedly long url destination parameter