extract id fix