Removes debug block from index