fix for anti_spam_threshold setting