repair for parent variables