fix core dump with latest NGINX

fix core dump with latest NGINX