removed exit handler