undo index tweak