Fix data type for uid