Revert "1. check parent exist or not in a comfortable way"

This reverts commit 0252016d13bac675c962a1e2fd66dc3c4c313f56.