action hook fix