destroy keys and values in hashtables