fixed connect_db error in handle-county