fix bug where two packets were processed as one
document MID
missing newline