Fix bug in loading of entity uuid.