'Serious weaknesses' in government's work with councils on n