fixed cgi flag