Fixed scopes of UserStat