finish corpus import