if error redirect to quiz