fixed a hook