Revert "fix index bug"

This reverts commit b1ee3ec163b2f769fed02f23e165d0858b26e612.
fix Home page code error