fixed some bugs when collecting data in BIND version 9.9+