Fixed a bug when generating uuids on node