solved timing issue in AI