removing hook references