style(index): fix code style