fixed compile error in smp plugin