added system.exit if fringe is done