diff --git a/chat.h b/chat.h
index ef9b300..6a2c9cd 100644
--- a/chat.h
+++ b/chat.h
@@ -54,7 +54,7 @@ char *chat_json(const char *role, const char *message) {
     }
 
     json_object_object_add(root_object, "messages", message_list());
-    json_object_object_add(root_object, "max_tokens", json_object_new_int(prompt_max_tokens));
+//    json_object_object_add(root_object, "max_tokens", json_object_new_int(prompt_max_tokens));
     json_object_object_add(root_object, "temperature", json_object_new_double(prompt_temperature));
 
     return (char *)json_object_to_json_string_ext(root_object, JSON_C_TO_STRING_PRETTY);
diff --git a/r.h b/r.h
index 1087613..e908db7 100644
--- a/r.h
+++ b/r.h
@@ -3,7 +3,7 @@
 #include "malloc.h"
 #include <stdbool.h>
 #include <string.h>
-
+#include "utils.h"
 #include "auth.h"
 bool is_verbose = false;
 
diff --git a/rpylib.so b/rpylib.so
index e28ef01..8bd9d98 100755
Binary files a/rpylib.so and b/rpylib.so differ
diff --git a/tools.h b/tools.h
index b0ad573..b55bdf2 100644
--- a/tools.h
+++ b/tools.h
@@ -8,7 +8,7 @@
 
 #ifndef R_TOOLS_H
 #define R_TOOLS_H
-
+#include "r.h"
 #include <stdio.h>
 #include <json-c/json.h>
 #include <json-c/json_object.h>
diff --git a/utils.h b/utils.h
index 3ec3570..1991e38 100644
--- a/utils.h
+++ b/utils.h
@@ -12,6 +12,7 @@
 #ifndef UTILS_H
 #define UTILS_H
 
+#include <unistd.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>