removed url_type and change base_url to url