Fix while loop.