bug fix recover