Correctly add network ID to mapping