bug fix on volatility