override optarch after arch check
coding by trial and error.
made unittest uglier, but works now. 100%. every time. on my machine.