allow for empty headers properly