make SMP work