Infinite loop bug.