Upload refresh bugfix