fixed copy-cgi