reconstruct the hook, no after and before.
fix hook