fixes how to get headers content