emit completed event