how to avoid AI mistakes