provide an error message for rename_index failure