fix recovery