get the correct headers