Fixed the latex index value