Even if the machines were open source, free from bugs, and we all voted for one candidate, they still might not get the electoral college votes.
It doesn’t fix democracy because the idea is already fundamentally broken. But it does stop a viciously stupid and brazen fraud that makes things worse for no reason and is really easy to fix