Fixed hook name bug