uid should be a string