uid is an array, so add [0] to get string