simplify uid extractor