quiz mode bug fixes

bug fixes on quiz mode