fix recovery build