Fixing issue #1
Corrected network parsing