fix for get_id