diff --git a/pixel.cpp b/pixel.cpp
index f252f49250840e4b63097173144265775f93eb70..500cfe7a2618813628fa8d67ea735aeb1384ccac 100644
--- a/pixel.cpp
+++ b/pixel.cpp
@@ -60,6 +60,8 @@ void pixel(
 
 	if (count_streams == stream_count){
 		count_streams = 0;
+        charIn=0;
+        addNum=0;
         // asciiVal= convertBinInt(asciiNum);
         // pkt.data=asciiVal;
         // dout.write(pkt);