fix hompage bug