fix problem CGI cannot give err info