emit end after untrack