clean up plugin hooks, make chef hooks work again