fixed Grid error ,started AI