Fixes header sequence removal issue