fix(index): remove dead code