revert exit(0) at end