fixed bugs on surveys_helper