fixed issue on pathinfo.cgi?pid=0