Some fixed for deinit.