After years of cuts, nonprofits struggle to survive