switch to C# AI control + debugged it