Restore fit configuration in case of error during batch.