remove unused exception handlers