nc.xaxaxa: fixed bug causing truncated buffers