package redirect with query string