fix splitter to cut off header properly