diff --git a/html/public/fruitvote/GoPage.php b/html/public/fruitvote/GoPage.php
index d71f545..c0fde0e 100644
--- a/html/public/fruitvote/GoPage.php
+++ b/html/public/fruitvote/GoPage.php
@@ -4,7 +4,7 @@ class GoPage {
private $socket;
private $template;
- public function __construct($page, $socket = "/home/simponic/fruitvote/http.sock", $template = "../template.html") {
+ public function __construct($page, $template = "../template.html", $socket = "/home/simponic/fruitvote/http.sock") {
$this->page = $page;
$this->socket = $socket;
$this->template = $template;
diff --git a/html/public/fruitvote/stats.php b/html/public/fruitvote/stats.php
deleted file mode 100644
index 5147723..0000000
--- a/html/public/fruitvote/stats.php
+++ /dev/null
@@ -1,7 +0,0 @@
-render();
-?>
diff --git a/html/public/fruitvote/stats/index.php b/html/public/fruitvote/stats/index.php
new file mode 100644
index 0000000..691ba95
--- /dev/null
+++ b/html/public/fruitvote/stats/index.php
@@ -0,0 +1,7 @@
+render();
+?>