fix cgi