recursively purge parents