Fixed a bug with computer ai