fix for querystring not set