fix build without recovery