fixed finalizer