Fix 'done' state