fix flux getSurvey