fix redundant homepage problem