Fix infinite loop then works fine
Fix typo