fix typo in survey taking logic