fixed weird frontpage bug