improve url helper

add generate querystring with exception.