fix(hooks): fix for beta