fix npm upgrade issue in package.json