partial temp fix of spin lock problem on 64 bit