remove exit logic