fix up data for tcp