fix index for npm