remove exit(-1)