Fixed bug in queryatring params