fix for survey not saving