Fix fatal error when access /quiz/add.