Sorry for the title. You can’t actually fix bad bosses. It’s hard enough to fix oneself. It an order of magnitude harder to change the behaviour of others. But trying to fix a person in a position of authority who doesn’t want to improve? Fuggetaboutit.
Good news from Dan McCarthy however: we can still learn from those horrible bosses and get better ourselves.