bugfix for npm