relative folding for headers