Change of scope for first_dm_id