fix inheritance of parent properties