fix some recovery flags