fixed index page bug
Merge pull request #8 from Nayshins/index-page-fix

fixed index page bug