Fixed a constructor bug in AI, got input start