fix dep in package.json and require