Fix rand(Beta)