fixed "Continous data recognized as malformed packet"