Progress bar on file upload fix