made all validation of quizzes work properly