Fixed the bug causing invalid values of UUIDs