modify qid to questionId