fix new corpus not working