make phenotype download work.