Nazis were National Socialists, no just because of their names. They planned the economy and had foremen that responded directly to the Nazi party in every factory, just like all the other failed socialist utopia that has ever existed.
“Socialism is the science of dealing with the common wealth. Communism is not Socialism. Marxism is not Socialism. The Marxians have stolen the term and confused its meaning. I shall take Socialism away from the Socialists.
Socialism, unlike Marxism, does not repudiate private property. Unlike Marxism, it involves no negation of personality, and unlike Marxism, it is patriotic... We are not internationalists. Our socialism is national. We demand the fulfillment of the just claims of the productive classes by the state on the basis of race solidarity. To us state and race are one.”
It's not like the anti-nationalism, anti-militarism, anti-private property, anti-racism, anti-classism, anti-exploitation, etc. are all fundamental, basic socialist ideals, none of which were supported by the Nazis