FIX recovery

Fix recovery loop