fixing references to temp AIs, so it'll compile for everyone