small fix on recover