add query string when searched.