send correct headers