fix bug on web service, add url utility factory