Fixed the reading bug
	while -> do while