remove recursive network