fix create network bugs