decode/encode ticket url
fix