sync html/url, remove some obsolete stuff