replaced single instance of item_global_lock by array of instances