remove faulty exit statement