make ai a bit smarter + rook fix