fixing trivia case checks.