Fix error on ancestor