fix nlp caching issue