fix home page routing problem