Removed bug from AIPlayer