Fixed the progress log and the number of tasks