bug fix in NetworkDAO.