encapsulate header, resort config