fixed "ambiguous method call. both get class () in object and get class () in object match" error in AIActivity
优化代码