Fix while loop