fixed wrong uid <-> cuid