implement clearUploads