Fixing tcp flags