Fix register.cgi