fix legacy AI's