fix spinlock bug