simplify exiting with message on fatal error