error with get_url_by_entities