workaround for npm install not always doing the right thing