fix little bug in id output