Fixing issue #251

fixing issues with survey main page