correct a parent reference