bugfix for superuser in statistics