set correct headers