add exit for correct headers