basic smp fixes

wont work yet