improve REPL, get GoodParentElement from undescended parent checks