fixing typo, testing exit trap