spinlock fix