modify code of tcp