Fixed type problem where uids were strs instead of ints