Fixed compile error after AI update.