While the KPD made many stupid mistakes, and frankly given their Stalinist policies at the time were not much better than the NSDAP in most respect, it was the power hungry right wing parties that entered into a coalition government with Hitler and voted for the Enabling Act.