Fix uid in MediaItems