one more safeguard if header is null