return header information for debugging
get correct header