fix home page bug