temporarily disable all hooks, then enable them all