fix import/export of survey