fix quiz bugs