use encode/decodeURI to keep remix url simple