correction
bug fix for setting url without parameters