Change type of uid from signed int to unsigned int