fix `nls` plugin case