add the existence check of the child page at page destroy

Extra blank line detected.