fix bug in questionaire