fix for case where header value is empty