Infinite loop bug corrected