fixed empty querystring crash