further bug fixes for type corpora