fix uploader bug