fixed taking quiz immediately after creating quiz