remove dysfunctional deployment hook