fix betaToValue