fixed nil named parents, through testing for name