fix uninitialized constant in assessment index page
fix for survey submission error