Fix progress bar and regular file upload