fixes for npm publish