fetch_id output syntax fixes