fixed error with representing parents