data in packets swapped correctly