fix NLP model reloading bug