appending query string in redirect