fix bugs of package.json cannot be run