more fixes for npm publish