add resolver deinit functions