Fix previous commit and delete unsued networks.