remove after hook