Remove variables from finalizer