refactor(index): remove unused function