fix bug in NPM