removing action hook