setMaxVersion to 31.0