use correct global block index