fixed two dav node bugs