Patching the index