fix homepage bug