fix in case context does not have inherited_from_parent_key