Fix 1 infinite loop