fixup Another fix on deinit method