remove pasteUpload function because it has been supported by sf.