ammend redirect_to querystring to redirect