fixed bug questionnaire
code missing check