diff --git a/upload.php b/upload.php
index 4eaf37a..15f0e41 100644
--- a/upload.php
+++ b/upload.php
@@ -29,8 +29,7 @@ function isZipFile($file)
$mapId = generateMapId(); // the id of the map
-$map = $_FILES["map"];
-$file = $map["tmp_name"];
+$file = $_FILES["map"]["tmp_name"]; // the file to upload
if (!isZipFile($file)) {
echo "The file is not a zip file";