fixed frontpage bug