remove exit statement