fix frontpage bug