fix recovery compatible issues