The end and index are not in the middle

Hi there

Hope you can help me. After I decided to put Chapter and the first line of the paragraph on the left, “the end” and “index” are also on the left. If you see the attachments (please notice “the end” is “FIN” and “index” is “Indice” in spanish).

“Index” is already mark as in the center in the settings where you can write other title for index.
“The end” is done with the format that allows you to keep the format not matter what you do in settings. I think the name is keep format or something like this. I put it in the middle.

Any ideas to fix it?