fixed condition within formatquestion function