Added white space reduction to takesurvey