fixed for npm 1.3+ standards