Fixed hooks bug