added features for long qid and also when no multiple or single choice is in the survey