fixed issue with invalid url param