Fixed while loop conditions in Driver