fixed a bug where every node would get the id property