Possible infinite loop fixed.