Gui index fix.