emit end when find