Quick fix

Missing increment in while loop