fix build recovery