add "exits" after errors to avoid tracebacks