refactor uuid -> uid