fixes for npm