fixed bug for creating quiz