set max attributes to 31