fix old/new index mismatch between log message and action