remove rarely useful debug hook