fix removal of package.json