Except... he split from the Nation after making a pilgrimage to Mecca and seeing people of all races getting along, helping each other and united in a single purpose. That fundamentally changed his views on race (and his religion -- from what the Nation taught, to more orthodox Islam). It is absolutely no coincidence that he was assassinated by members of the Nation shortly afterward.
Then you shouldn't comment on a subject that you know nothing about. Read his book, listen to his speeches, watch the movie, study the civil rights movements and then comment on what you feel is "iffy".
Both viewpoints are wrong, of course. But one of them is rooted in selfishness and evil, and the other is rooted in compassion and justice, perverted by that same evil. One of these can be understood and, perhaps, redirected in a more healthy direction--as it seems Malcolm X may have been in the process of doing. In the real world, you can't just slot everyone into convenient "good" and "evil" cubbyholes.