add url host formatting