revise backend  parent checking