Fixing domain_id to as_id