diff --git a/image_tagger.c b/image_tagger.c
index 730b20790204bec35279b72c95bff6c611aac048..d1e036fb1645980d172748094206c667a85896f5 100644
--- a/image_tagger.c
+++ b/image_tagger.c
@@ -100,7 +100,12 @@ static bool handle_http_request(int sockfd)
 
 if (strncmp(curr, "?start", 6) == 0){
       if (method == GET)
-      {
+      {   if(player1 == sockfd){
+        player1_ready = true;
+        }
+        if(player2 == sockfd){
+          player2_ready = true;
+        }
 
           // get the size of the file
           struct stat st;
@@ -329,12 +334,6 @@ if (strncmp(curr, "?start", 6) == 0){
 if (*curr == ' '){
 
         if (method == GET){
-              if(player1 == sockfd){
-                player1_ready = true;
-              }
-              if(player2 == sockfd){
-                player2_ready = true;
-              }
             // get the size of the file
             struct stat st;
             stat("1_intro.html", &st);