handling for incorrectly ordered packets