prevent AI hallucination