add destroy_func for ne_hash, and misc modify
compile ok now