fix for stats and quotas