Fixed UUID function being completely broken