prevent cc attack