fixes for nls refresh