fixed progress bar issue on second file upload