Mao wasn't a dictator?
China has certainly made some significant steps away from dictatorship, though it's still damned authoritarian.
It's also made significant steps away from communism (I mean, it has billionaires and everything).
That's not a coincidence.