Fixed the bug in begin_survey view