Fixing bugs in quizz end