fix for root_url + port (like save doc title, ..) via radu