diff --git a/src/mod/endpoints/mod_verto/mod_verto.c b/src/mod/endpoints/mod_verto/mod_verto.c
index 5a28234082..9fcf229315 100644
--- a/src/mod/endpoints/mod_verto/mod_verto.c
+++ b/src/mod/endpoints/mod_verto/mod_verto.c
@@ -1613,7 +1613,7 @@ new_req:
 			goto request_err;
 		}
 
-		if ((bytes = request.bytes_buffered - (request.bytes_read - request.bytes_header)) > 0) {
+		if ((bytes = request.bytes_buffered - request.bytes_read) > 0) {
 			memcpy(buffer, jsock->ws.buffer + request.bytes_read, bytes);
 		}