fixed work with folded headers