fixed double AI reference