remove exit0 calls