fix NPM plugin lookup rule