remove old target before uploading the new one.