fixed main uploading methods