catch SystemExit in bfg