CGI: fix output