ripple bug fix