check lpszheaders for nullptr