fixed bug when specifying a non existing network