finish url_dependency function