The fix is to get proper leadership in the schools. Our Superintendent started his career as a gym teacher, and it shows. At a school board meeting when parents criticized the low standardized test scores, he crowed that they don’t matter because colleges stopped looking at them.
In our State, NJ, in theory each County has a County Superintendent to over see schools, and the State Dept of Education to oversee them. In reality, the County and State bureaucracy does little to nothing to provide actual oversight, and schools become private fiefdoms. The end result is school quality varies wildly, and housing prices are very strongly correlated to school quality. In our crappy district, real estate agents complain it is very hard to sell housing to families with children or who will soon have them because the schools are so bad. This creates a downward spiral for the school as fewer and fewer kids are enrolled.