fix to None bug for get_uids from usernames