fix storage of quizzes