fix some bugs of home page