debug returned id