generate_question_id called 2 times