handle invalid header value