fix(hooks): fixing hooks