unwanted exit statement