protect d9 struct overflow