fix IDs
debug output