重构uploader,handle