fixed progress.txt bug