Fix smp exception