repair some bugs of index page