Trying to fix upload progressbar