fixed a bug of cgi-name