fix uid()