Fix uuid consistency bug.