remove bad throw statement