bug fix on cgi-name