fixed bug when deleting quizzes