undid the changes to the counties db query