remove exit(0) in init