diff --git a/exec/load/http.js b/exec/load/http.js
index f9d4895767cc1189ca8ba23332d36f66e45d01e3..76689a1e5ef72e55cda681948474a66ce4e8fe37 100644
--- a/exec/load/http.js
+++ b/exec/load/http.js
@@ -131,7 +131,7 @@ function HTTPRequest(username,password)
 			len -= ch.length;
 			if(len < 1)
 				len=1024;
-			flatten(this.body);
+			js.flatten_string(this.body);
 		}
 	};