Change fid to uid