clear up the handlers