fixed trivia stop code