fixed progress reporting bug