Revert "refine uploader"

This reverts commit 5ed6b7ec69dbd6fe555f36dd7c44d9077736912a.