bug fix for not allowing querystring parameters

Changed method to string query string from url the right way