fix cgi call