fixing header block order