cleaned up 'Create Corpus' patch