add inheritance patch