packet lenght exception management