fix add exiting