trap xnest exit