replace deprecated cgi.parse_qs