added template for removing in_handler