seperate fetch_id to 2 steps