fix compile errors due to volatility changes