giza: fix replacement inheritance