refine uploader