network: some fix