fixed a bug in which nodes without any info raise an unhandled KeyError