remove base64 encoding from redirects