changed item_global_lock to spinlock