remove extraneous sys.exit