Fixed crash when no header value is specified