fix for npm test fail