repair the homepage