fix double home page bug