diff --git a/html/user/team.inc b/html/user/team.inc
index 284b42685f..de43305176 100644
--- a/html/user/team.inc
+++ b/html/user/team.inc
@@ -123,8 +123,8 @@ function team_table_start() {
echo "
Name |
Members |
- Average credit |
- Total credit |
+ Average credit |
+ Total credit |
Country |
";
diff --git a/html/user/top_teams.php b/html/user/top_teams.php
index d9968ae75d..2d2f140c36 100644
--- a/html/user/top_teams.php
+++ b/html/user/top_teams.php
@@ -1,4 +1,5 @@
-\n\n";
page_tail();
-?>
+
+} ?>