fix bad phenotypes