fix http uploader bugs