fix sending/receiving Mold packets