Fixed emit() repetion