updated ffeetching of query string