Fixed bug with uploading progress bar.