Fix bad throw