fix type, update package.json