Fix url losting issue that may occur in jsonp method.